package com.example.dao;
import com.example.bean.LoginLog;

import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface LoginLogRepository {
    void insertLoginLog(String username, Date logindate);
    List<LoginLog> findLoginLogsByUsername(String username);
    String formatLoginDate(Date loginDate);
}